package com.young.fs.util;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 文件系统配置类
 * 在xml里面配置
 * Created by rookie on 2017/9/5.
 */
@Configuration
@ConfigurationProperties(prefix = "young.fs.config")
public class FsConfig {

    public final static String  ACTUAL_PATH = "actualPath";//实际路径

    public final static String  DATE_PATH = "datePath";//日期路径

    /*public static String FILE_STORAGE_MODE;//文件存储方式

    public static String ROOT_PATH_LINUX;//linux下的根路径

    public static String ROOT_PATH_WINDOWS;//windows下的根路径*/

    private String fileStorageMode;
    private String rootPathAtLinux;
    private String rootPathAtWindows;

    public String getFileStorageMode() {
        return fileStorageMode;
    }

    public void setFileStorageMode(String fileStorageMode) {
        this.fileStorageMode = fileStorageMode;
    }

    public String getRootPathAtLinux() {
        return rootPathAtLinux;
    }

    public void setRootPathAtLinux(String rootPathAtLinux) {
        this.rootPathAtLinux = rootPathAtLinux;
    }

    public String getRootPathAtWindows() {
        return rootPathAtWindows;
    }

    public void setRootPathAtWindows(String rootPathAtWindows) {
        this.rootPathAtWindows = rootPathAtWindows;
    }
}
